<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>信息系统 - 管理员登录</title>
    <!-- BootStrap css-->
    <link href="<?php echo base_url('public/css/bootstrap.min.css') ?>" rel="stylesheet" type="text/css">
    <!-- login css -->
    <link href="<?php echo base_url('public/css/loginCss.css') ?>" rel="stylesheet" type="text/css"/>
    <!-- jquery-->
    <script src="<?php echo base_url('public/js/jquery-1.9.1.min.js') ?>" type="text/javascript"></script>
    <!-- Bootstrap js -->
    <script src="<?php echo base_url('public/js/bootstrap.min.js') ?>" type="text/javascript"></script>
    <script type="text/javascript">
        function addCheck() {
            var username = $("#username").val();
            var password = $("#password").val();
            if (username == "") {
                alert("用户名不能为空!");
                $("#username").focus();
                return false;
            }
            if (password == "") {
                alert("密码不能为空!");
                $("#password").focus();
                return false;
            }
        }
        $(document).ready(function () {
            $("#jobNumber").focus();
        });
    </script>
</head>
<body>
<div class="container-fluid">
    <div class="row-fluid">
        <form class="form-signin" method="post" onsubmit="javascript: return addCheck()">
            <fieldset>
                <legend>
                    <small>信息系统 - 管理员登录</small>
                </legend>
                <h2 class="form-signin-heading">登录</h2>
                <input type="text" class="input-big" placeholder="账号" name="username" id="username"><br>
                <input type="password" class="input-big" placeholder="密码" name="password" id="password"><br>
                <a href="<?php echo base_url() ?>" class="back">返回首页</a>
                <button class="btn btn-primary" type="submit" id="submit">登录</button>
            </fieldset>
        </form>
    </div>
</div>
</body>
</html>